package top.shiyiri.threadlocal;

/**
 * @author Aunean
 * @date 2022/2/12 16:12
 */
public class OrderService {
    public void createOrder(){
        String name = Thread.currentThread().getName();
        System.out.println("createOrder 当前线程"+name+"中保存的数据是：" + ThreadLocalTest.threadLocal.get());
    }
}
